Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCommandBuilder Class / CreateSplitButton Method / CreateSplitButton<T>(NImage,NCommand) Method


In This Topic
    CreateSplitButton<T>(NImage,NCommand) Method
    In This Topic
    Creates a split button and associates it with the given command. The specified image is set to both the action button of the split button and its popup's "More Options..." button (if it has one).
    Syntax
    'Declaration
     
    
    Protected Overloads Function CreateSplitButton(Of T As {New, NSplitButton})( _
       ByVal image As NImage, _
       ByVal command As NCommand _
    ) As T
    'Usage
     
    
    Dim instance As NCommandBuilder
    Dim image As NImage
    Dim command As NCommand
    Dim value As T
     
    value = instance.CreateSplitButton(Of T)(image, command)
    protected T CreateSplitButton<T>( 
       NImage image,
       NCommand command
    )
    where T: new(), NSplitButton

    Parameters

    image
    command

    Type Parameters

    T
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also